package com.wulis.common.model.enums;

import lombok.AllArgsConstructor;

/**
 * 启用状态
 *
 * @author WuliBao
 * @date 2020-05-21
 */
@AllArgsConstructor
public enum EnableStateEnum {
    
    /**
     * 启用状态状态 0未启用 1已启用
     */
    NOT_ENABLED(0, "未启用"),
    
    IS_ENABLED(1, "已启用");
    
    private final Integer value;
    
    private final String desc;
    
    public Integer value() {
        return this.value;
    }
    
    public String desc() {
        return this.desc;
    }
    
}
